import { Tag } from 'ant-design-vue';
import type { TableColumn } from '@/components/core/dynamic-table';

export type PubStationListItem = API.PubStListPageResultItem;
export type TableColumnItem = TableColumn<PubStationListItem>;

export const baseColumns: TableColumnItem[] = [
  {
    title: 'id',
    dataIndex: 'id',
    hideInSearch: true,
    hideInTable: true,
    align: 'center',
  },
  {
    title: '公共岗名称',
    dataIndex: 'name',
    align: 'center',
  },
  {
    title: '公共岗编码',
    align: 'center',
    hideInSearch: true,
    dataIndex: 'code',
  },
  {
    title: '所属组织',
    dataIndex: 'orgId',
    hideInTable: true,
    hideInSearch: true,
    align: 'center',
  },
  {
    title: '公共岗领导',
    dataIndex: 'leader',
    hideInTable: true,
    hideInSearch: true,
    align: 'center',
  },
  {
    title: '公共岗领导',
    dataIndex: 'leaderName',
    hideInSearch: true,
    align: 'center',
  },
  {
    title: '排序号',
    dataIndex: 'postSort',
    hideInSearch: true,
    hideInTable: true,
    align: 'center',
  },
  {
    title: '备注',
    dataIndex: 'remark',
    hideInSearch: true,
    align: 'center',
  },
];
